<table class="layui-table">
    <thead>
    <tr>
        <th>部位</th>
        <th>量法</th>
        <th>跳码尺寸</th>
        <th style="min-width: 180px;">跳码规则</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 0, ''), $sizeNameList)}</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 1, ''), $sizeNameList)}</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 2, ''), $sizeNameList)}</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 3, ''), $sizeNameList)}</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 4, ''), $sizeNameList)}</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 5, ''), $sizeNameList)}</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 6, ''), $sizeNameList)}</th>
        <th>{:Form::select('sizename[]', arrayGet($sizenameArr, 7, ''), $sizeNameList)}</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>

    </tbody>
</table>
<script id="sizeTpl" type="text/html">
    {foreach $partArr as $k => $v}
    <tr>
        <td class="layui_tool_showSelect_{$k}">
        </td>
        <td><input type="text" name="measurement[]" value="{:arrayGet($measurementArr, $k, '')}" autocomplete="off" class="layui-input" lay-verify=""></td>
        <td>
            <a href="javascript:void(0)" onclick="onclickTiaoSize(this)" class="hisi-iframe layui-btn layui-btn-sm " hisi-data="{width: '860px', height: '90%'}" >跳码设置</a>
            <a  href="javascript:void(0)" onclick="onclickTiaoSizeRun(this)" class="layui-btn layui-btn-sm "  >生效</a>
        </td>
        <td class="tiaoSizeContent">-----</td>
        <td><input type="text" name="size[0][]" value="{:arrayGet(arrayGet($sizeArr, 0, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><input type="text" name="size[1][]" value="{:arrayGet(arrayGet($sizeArr, 1, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><input type="text" name="size[2][]" value="{:arrayGet(arrayGet($sizeArr, 2, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><input type="text" name="size[3][]" value="{:arrayGet(arrayGet($sizeArr, 3, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><input type="text" name="size[4][]" value="{:arrayGet(arrayGet($sizeArr, 4, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><input type="text" name="size[5][]" value="{:arrayGet(arrayGet($sizeArr, 5, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><input type="text" name="size[6][]" value="{:arrayGet(arrayGet($sizeArr, 6, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><input type="text" name="size[7][]" value="{:arrayGet(arrayGet($sizeArr, 7, []), $k, '0')}" autocomplete="off" class="layui-input" lay-verify="number"></td>
        <td><a href="javascript:void(0)" class="layui-btn layui-btn-danger layui-btn-sm btn-del"><i class="layui-icon">&#xe640;</i></a></td>
    </tr>
    {/foreach}
</script>
<script>
    var partArrInit = {:json_encode($partArr)};
</script>